﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BannerEdit.aspx.cs" Inherits="Course_BannerEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>添加轮播图片</title>
     <link href="../../css/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link href="../../css/admin.css" rel="stylesheet" />
    <script src="../../js/jquery-1.7.2.min.js"></script>
    <script src="../../css/assets/js/bootstrap.min.js"></script>
    <script src="../../js/laydate/laydate.js"></script>
</head>
<body>
    <form id="form1" runat="server">
          <div>
            <div class="row">
               
                 <asp:HiddenField ID="bfbannerID" runat="server" />

                <div class="col-lg-4 col-md-4 col-sm-6 colSpace">
                    <span class="txtWarn">*</span>首页轮播图片标题：                
                    <br />
                    <asp:TextBox runat="server" ID="txtBannerName" CssClass="txtSize" ></asp:TextBox>
                </div>

             <div class="col-lg-4 col-md-4 col-sm-6 colSpace">
                    <span class="txtWarn">*</span>首页轮播图片链接：                
                    <br />
                    <asp:TextBox runat="server" ID="txtBannerLink" CssClass="txtSize" ></asp:TextBox>
                </div>

                  <div class="col-lg-4 col-md-4 col-sm-6 colSpace">
                    <span class="txtWarn">*</span>排序：[按数字从大到小排列]  
                    <asp:TextBox runat="server" ID="txtSort" CssClass="txtSize" >0</asp:TextBox>
                       <br />
                </div>

                 <div class="col-lg-4 col-md-4 col-sm-6 colSpace">
                <br />
                状态：
                    <asp:RadioButton runat="server" ID="rb1" GroupName="rbStatus" Checked="true" /><label class="lblFor" for="rb1">启用</label>&nbsp;
                    <asp:RadioButton runat="server" ID="rb2" GroupName="rbStatus" /><label class="lblFor" for="rb2">禁用</label>
            </div>


               </div>

              

             

            <div style="margin-top: 20px; vertical-align: top;">
           <div class="txtWarn">1.图片比例——18:11&nbsp;&nbsp;&nbsp;&nbsp;<br />2.图片大小——200k以下</div>
            <asp:FileUpload ID="txtSelectFile" runat="server" Style="display: inline-block" />
            <asp:Button runat="server" ID="btnUpLoad" Text="上传图片" OnClick="btnUpLoad_Click" />&nbsp;&nbsp;&nbsp;
            <asp:Label runat="server" ID="lblUploadInfo" CssClass="txtWarn"></asp:Label>
          
            <asp:Image runat="server" ID="imgSignature" Height="80" />
            <asp:Label runat="server" ID="lblFileName" Visible="false"></asp:Label>
           </div>






            <div>
                <br />
                <asp:Button runat="server" ID="btnOK" Text="确定" CssClass="btn btn-primary btnSize" OnClick="btnOK_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button runat="server" ID="btnBack" Text="返回" CssClass="btn btn-primary btnSize" OnClick="btnBack_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label runat="server" CssClass="txtWarn" ID="lblWarn"></asp:Label>
            </div>
        </div>
    </form>
</body>
</html>
